package com.java.generic.special_reminder;

import java.util.Date;

/**
 * 泛型多态重写方法如何理解？
 */
public class Polymorphism {
    class Parent<T> {
        private T value;
        
        public void setValue(T value) {
            this.value = value;
        }
    }
    
    class Child extends Parent<Date> {
        @Override
        public void setValue(Date value) {
            super.setValue(value);
        }
    }
}
